import { reportLog } from '@/utils/reportLog'
export default {
  created(el, binding) {
    const { value } = binding
    el.addEventListener('click', () => {
      // 点击按钮，上报日志
      reportLog(value)
    })
  },
}